package com.itheima.dto;

import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * @author :wujunjie
 * createTime :2023-01-03 12:47
 * description :
 */
@Data
public class PubishNewsDto {
    private Long id;
    private String title;
    private String type;
    private String labels;

//    @JsonFormat(shape = JsonFormat.Shape.STRING,
//            pattern="yyyy-MM-dd HH:mm:ss",
//            timezone = "GMT+8")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;
    private Long channelId;
    private String content;
    private List<String> images;
    private Integer status;
}
